package com.drug.mingkang.utils;

/**
 * 描述:
 *
 * @author wutao
 * @version 1.0
 * @date 2020/6/29 0029 8:40
 */
public class FenYe{
    private int page;
    private int limit;
    private int offset;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getOffset() {
        offset = (page-1)*limit;
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }
}
